package sh.model;

import lombok.Data;
import sh.orm.annotation.Entity;

import java.io.File;
import java.math.BigDecimal;
import java.util.Date;


@Data
@Entity
public class Book extends AbstractModel {

	public static final transient String USER_ID = "user_id";
	public static final transient String PRICE = "price";
	public static final transient String AUTHOR = "author";
	public static final transient String NAME = "name";

	private Long userId;

	private String name;

	private String author;

	private String pressName;

	private Date pressDate;

	private Date loadDate;

	private BigDecimal price;
	
	private transient File file;

}
